package cn.zhaoyuening.leasecloud.middle;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication(
		scanBasePackages = {"cn.zhaoyuening.leasecloud.common.dao","cn.zhaoyuening.leasecloud.middle"},
		exclude = HibernateJpaAutoConfiguration.class)
@ImportResource(locations = {"classpath:spring/application-*.xml"})
public class MiddleServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(MiddleServiceApplication.class, args);
	}
}
